package com.chouxiaozi.annoationdemo.annoations;

import com.chouxiaozi.annoationdemo.enums.SizeEnum;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@ColorAnn
public @interface FruitAnn {
    @AliasFor(annotation = ColorAnn.class, attribute = "colorss")
    String color();

    String type() default "";
}
